fc3b609fdecffdcb6e3b992f56ac0b794aecad94,src/test/java/alexh/ConverterTest.java,ConverterTest,doubleConversions_small,#,336
Before Change
.expect(Converter::intoDecimal, new BigDecimal(smallDouble))
.expect(Converter::intoString, String.valueOf(smallDouble))
.expect(Converter::intoList, singletonList(smallDouble))
.expect(Converter::intoMap, singletonMap(EXPECTED_DEFAULT_MAP_KEY, smallDouble))
.expect(Converter::unconverted, smallDouble)
.throwsWhen(Converter::intoLocalDateTime)
.throwsWhen(Converter::intoZonedDateTime);
}
@Test
After Change
.expect(Converter::intoDecimal, new BigDecimal(smallDouble))
.expect(Converter::intoString, String.valueOf(smallDouble))
.expect(Converter::intoList, singletonList(smallDouble))
.expect(Converter::intoMap, singletonMap(EXPECTED_DEFAULT_MAP_KEY, smallDouble))
.throwsWhen(Converter::intoLocalDateTime)
.throwsWhen(Converter::intoZonedDateTime);
}
@Test